package top.zywork.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.zywork.dao.SysMenuMetaDAO;
import top.zywork.dos.SysMenuMetaDO;
import top.zywork.dto.SysMenuMetaDTO;
import top.zywork.service.AbstractBaseService;
import top.zywork.service.SysMenuMetaService;

import javax.annotation.PostConstruct;

/**
 * SysMenuMetaServiceImpl服务接口实现类<br/>
 *
 * 创建于2019-09-25<br/>
 *
 * @author http://zywork.top 危锦辉
 * @version 1.0
 */
@Service(value = "sysMenuMetaService")
public class SysMenuMetaServiceImpl extends AbstractBaseService implements SysMenuMetaService {

    private SysMenuMetaDAO sysMenuMetaDAO;

    @Autowired
    public void setSysMenuMetaDAO(SysMenuMetaDAO sysMenuMetaDAO) {
        super.setBaseDAO(sysMenuMetaDAO);
        this.sysMenuMetaDAO = sysMenuMetaDAO;
    }

    @PostConstruct
    public void init() {
        super.init(SysMenuMetaDO.class, SysMenuMetaDTO.class);
    }
}
